package com.rayc.mall.logistic.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rayc.mall.api.dto.OrderDTO;
import com.rayc.mall.logistic.domain.po.OrderLogistics;
import com.rayc.mall.logistic.domain.query.LogisticsPageQuery;
import com.rayc.mall.logistic.domain.vo.OrderLogisticsVO;

import java.util.List;

/**
 * @Author: Ray-C
 * @CreateTime: 2025-03-25
 * @Description: 订单物流service接口
 * @Version: 1.0
 */
public interface IOrderLogisticsService extends IService<OrderLogistics> {

    void createLogistics(OrderDTO order);

    List<OrderLogisticsVO> queryMyLogistics();

    Page<OrderLogistics> search(LogisticsPageQuery query);
}
